<?php 
include("buildQuestion.php");
$msg = "<textarea name=\"question\" rows=\"10\" cols=\"35\">\n";
$msg .= $question . "\n";
$msg .= "</textarea><br>\n"; 
$msg .= "<input type=\"hidden\" name=\"answer\" value=\"". $idx . "\">\n";
for ( $i = 0; $i < 4; $i++ ) {
	$msg .= "<input type=\"radio\" name=\"option\" onclick=\"check('" . $i . 
			"')\"> " . $options[$i] . "<br>\n";
}
echo $msg;
?>